﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Vokabeltrainer
{
    public enum Loeschung
    {
        Keine,
        Loeschen,
        NichtLoeschen,
    }
    public partial class Warnung : Form
    {
        Form1 f;
        public Warnung(Form1 f)
        {
            InitializeComponent();
            
            this.f = f;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.f.SollLoeschen = Loeschung.Loeschen;
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.f.SollLoeschen = Loeschung.NichtLoeschen;
            this.Close();
        }
    }
}
